const router = require("koa-router")();
const controllers = require("../controllers");
// 只写文件名默认会读取文件里的index.js
router.get("/", controllers.index);
router.get("/index",controllers.index);
router.post("/doAdd",controllers.doAdd);
module.exports = router;